package com.baor.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * 【请填写功能名称】对象 t_proxy_order
 *
 * @author ruoyi
 * @date 2024-05-22
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("t_proxy_order")
public class ProxyOrderVo {

    /** 代理订单id 1*/
    @TableId(type = IdType.AUTO)
    private Integer proxyOrderId;

    private String createTime;

    /** 订单编号 */
    private String orderCode;

    /** 商品信息 */
    private String goodsId;

    /** 商品单价 */
    private BigDecimal singlePrice;

    /** 商品数量 */
    private Integer orderNum;

    /** 退款状态 */
    private String backStatus;

    /** 买家（userId） */
    private String buyUser;

    /** 代理商（userId） */
    private String proxyUser;

    /** 代理等级 */
    private String proxyLevel;

    /** 站点 */
    private String siteId;

    /** 总佣金 */
    private BigDecimal  allCommission;

    private String orderId;

    @TableField(exist = false)
    private String goodsName;

    @TableField(exist = false)
    private String goodsImg;

    @TableField(exist = false)
    private BigDecimal discount;

    @TableField(exist = false)
    private String summaryStatus;


}